<header  class="bar bar-header  bar-stable bar-mycolor " >
    <a class="button button-clear icon ion-ios-arrow-left" href="#/tab/friends" ></a>
      <h1 class="title ">我的茶友</h1>
      <a class="button button-clear icon ion-ios-search" ng-click="goToSearchFriends()"></a>
</header>

<ion-content class="has-header bk-gray" data-ng-init="doRefresh()">
  <ion-refresher
      pulling-text="下拉刷新..."
      on-refresh="doRefresh()">
  </ion-refresher>

  <div class="list">
    <a class="item item-avatar" ng-repeat="x in friendsList" >
          	<img src={{x.avatar}} ng-click="goToUserDetailPage(x.id)">
          	<div ng-click="goToChat(x.id)">
	          	<h2>{{x.nickname}} <span class="group-list-time">{{x.time}}</span></h2>
	          	<p>{{x.signature}}</p>
          	</div>
          
    </a>
  </div>
  </div>
</ion-content >
